<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<% include  ../template/commonCss.ejs %>
	<link href="<%=resUrl%>/css/my/view_adv.css" rel="stylesheet" type="text/css" />
	<% include ../template/commonJs.ejs %>
	<% include ../template/chatLister.ejs %>
</head>

<body ontouchstart>
	<% var topTitle = '广告管理';var topReturnType = '' %> 
	<% include ../template/topReturn.ejs %>
	<div id="aroundBox" <%if(locals.token && token != ''){%>style="top:0.2rem;"<%}%>>
		<div class="weui-pull-to-refresh__layer" style="padding: 5px;">
			<div class="weui-pull-to-refresh__arrow"></div>
			<div class="weui-pull-to-refresh__preloader"></div>
			<div class="down">下拉刷新</div>
			<div class="up">释放刷新</div>
			<div class="refresh">正在刷新</div>
		</div>
		<div id="contentTo" class="address">
			<!-- content -->
		</div>
		<div class="weui-loadmore" id="loadmore">
			<i class="weui-loading"></i>
			<span class="weui-loadmore__tips">正在加载</span>
		</div>
		<div class="weui-loadmore weui-loadmore_line" style="display:none;" id="nomore">
			<span class="weui-loadmore__tips">全部加载完毕</span>
		</div>
		
	</div>
	
	<div class="footer" onclick="goAddAdv();">
		<a href="#">确认申请该广告</a>
	</div>

	<script id="content" type="text/html">
		{{each list}}
		<div class="item current" data-advid="{{$value.id}}">
			<div class="weui-flex">
				<div class="weui-flex__item"><div class="placeholder">古今头条</div></div>
				<div class="weui-flex__item">
					<div class="placeholder select">
						<i class="iconfont"></i>
					</div>
				</div>
			</div>
			<div class="weui-flex">
				<div class="weui-flex__item"><div class="placeholder">{{$value.typeDesc}}</div></div>
			</div>
		</div>
		{{/each}}
	</script>	
	<script type="text/javascript"  src="<%=resUrl%>/js/my/view_adv.js"></script>
</body>

</html>